home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14512 < prev    next >
Encoding:
Text File  |  1996-08-05  |  835 b   |  24 lines

  1. Newsgroups: comp.lang.c
  2. Path: news.sprintlink.net!eskimo!scs
  3. From: scs@eskimo.com (Steve Summit)
  4. Subject: Re: How to detect EOF?/filepointer problem.
  5. X-Nntp-Posting-Host: eskimo.com
  6. Message-ID: <DpwrEq.HuK@eskimo.com>
  7. X-Scs-References: <9604142207.AA10499@sun2.lrz-muenchen.de>
  8. Sender: news@eskimo.com (News User Id)
  9. Organization: schmorganization
  10. References: <316F8932.2BAF@www.partio.fi> <Dpv413.LtC@eskimo.com>
  11. Date: Mon, 15 Apr 1996 14:40:02 GMT
  12.  
  13. In article <Dpv413.LtC@eskimo.com>, I wrote:
  14. > ...But weird things do go on with scanf.  If you're
  15. > reading lines, a line-based input function such as fscanf is
  16. > usually a much better choice.
  17.  
  18. What I meant to say was that a line-based input function such as
  19. fgets is usually a much better choice.  Thanks to Kurt Watzka for
  20. pointing this out.
  21.  
  22.                     Steve Summit
  23.                     scs@eskimo.com
  24.